Add & use GTK_CSS_AFFECTS_TRANSFORM
authorTimm Bäder <mail@baedert.org>
Wed, 23 Jan 2019 16:42:03 +0000 (17:42 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 21 Feb 2019 18:47:28 +0000 (19:47 +0100)
commit0ae7c3010538dc085c536d01b83cc32361735cc1
tree253a16808ef1a86287ba6b732079fb762bd432db
parentfd318a17a45c72a7cb96133fe5659a426d54457d
Add & use GTK_CSS_AFFECTS_TRANSFORM

This avoids invalidating the size of all widgets when updating CSS
transforms.

In theory, we don't even have to allocate the widget itself, because we
didn't change its size. But we have no way to track that.
gtk/gtkcssstylepropertyimpl.c
gtk/gtkcsstypesprivate.h
gtk/gtkwidget.c